package main

import (
	_ "day12_30/initialization"
	"day12_30/internal/router"
	"fmt"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	router.Router(r)
	err := r.Run(":8080")
	if err != nil {
		fmt.Println("启动失败" + err.Error())
		return
	}
}
